import request from "@/utils/request";

/**
 * 查询分润策略列表
 * @param params
 * @returns
 */
export function getincomeList(data) {
  return request({
    url: '/management/strategy.strategy_income/getList',
    method: 'post',
    data
  })
}

/**
 * 添加分润策略
 * @param params
 * @returns
 */
export function addincome(data) {
  return request({
    url: '/management/strategy.strategy_income/add',
    method: 'post',
    data
  })
}

/**
 * 修改分润策略
 * @param params
 * @returns
 */
export function updateincome(data) {
  return request({
    url: '/management/strategy.strategy_income/update',
    method: 'post',
    data
  })
}

/**
 * 删除分润策略
 * @param params
 * @returns
 */
export function delincome(data) {
  return request({
    url: '/management/strategy.strategy_income/del',
    method: 'post',
    data
  })
}